package com.zdj.presentation.modules.user.views;

import com.zdj.presentation.R;
import com.zdj.presentation.base.BaseActivity;
import com.zdj.presentation.databinding.ActivityUserDetailBinding;
import com.zdj.presentation.modules.user.vms.UserDetailVm;

/**
 * user详情界面 <br/>
 * 作者 ：zdj <br/>
 * created at 16-6-6 下午10:17
 */
public class UserDetailActivity extends BaseActivity<UserDetailVm,ActivityUserDetailBinding> {

    @Override
    protected void initVms() {
        viewModel = new UserDetailVm(this);
    }

    @Override
    protected int getContentLayoutId() {
        return R.layout.activity_user_detail;
    }

    @Override
    protected void setViewModel2Binding() {
        viewDatabinding.setUserDetailVm(viewModel);
    }

    @Override
    protected void initView() {
        viewModel.loadUserDetail();
    }

}
